//---------------------------------------------------------------------------

#ifndef SPR_GILZIH
#define SPR_GILZIH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "Shablon_Edit.h"
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <DB.hpp>
#include "cxButtons.hpp"
#include "DBCtrlsEh.hpp"
#include <ActnList.hpp>
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrSPR_GILZI : public TfrShablon_Edit
{
__published:	// IDE-managed Components
	TDBGrid *sgSPR_GILZI;
	TcxGroupBox *gbPERS_DAN;
	TLabel *Label1;
	TDBEdit *dbeFIO;
	TLabel *Label2;
	TDBDateTimeEditEh *dtpDATA_ROGD;
	TLabel *Label4;
	TDBEdit *dbeTEL_MOB;
	TLabel *Label5;
	TDBEdit *dbeTEL_RAB;
	TcxButton *bdADD;
	TcxButton *bdDEL;
	TActionList *ActionList1;
	TAction *ADD;
	TAction *DEL;
	TAction *SAVE;
	TcxButton *bdSAVE;
	TcxGroupBox *gbPASP_DAN;
	TLabel *Label6;
	TLabel *Label7;
	TLabel *Label8;
	TLabel *Label9;
	TDBEdit *dbeSERIA;
	TDBEdit *dbeNOM_PASP;
	TDBDateTimeEditEh *dtpDAT_VID;
	TDBEdit *dbeKEM_VIDAN;
	void __fastcall ADDExecute(TObject *Sender);
	void __fastcall SAVEExecute(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall dbeFIOKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall dtpDATA_ROGDKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbeTEL_MOBKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbeTEL_RABKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbeSERIAKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall dbeNOM_PASPKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dtpDAT_VIDKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbeKEM_VIDANKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall DELExecute(TObject *Sender);
	void __fastcall sgSPR_GILZIDblClick(TObject *Sender);
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall dbeSERIAChange(TObject *Sender);
private:	// User declarations
public:		// User declarations
int NOM,Stat;
	__fastcall TfrSPR_GILZI(TComponent* Owner);
	void __fastcall TfrSPR_GILZI::Obnovi();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrSPR_GILZI *frSPR_GILZI;
//---------------------------------------------------------------------------
#endif
